package com.weibo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Comment {
//    commentId int(11) NOT NULL
//    blogId int(11) NOT NULL
//    userId int(11) NOT NULL
//    content text NOT NULL
//    createdTime timestamp NOT NULL
    private int commentId;
    private int blogId;
    private int userId;
    private String content;

    private Date createdTime;
}
